// MenuBuilder.java
package sonet.textui.manager;
import ist.po.ui.Command;
import ist.po.ui.Menu;
import sonet.textui.*;

public class MenuBuilder {
	public static void menuFor(BrowsingState state) {
		Menu menu = new Menu(MenuEntry.TITLE, new Command<?>[] {
				new New(state),
				new Open(state),
				new Save(state),
				new SaveAs(state),
				new MenuAgents(state),
				new MenuSearch(state),
				});
		menu.open();
	}	
}
